﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class v_DepositBatchChange : DataObject
    {
        [Column]
        public int StoreID { get { return fStoreID; } set { fStoreID = value; EntityState.FieldChange("StoreID"); } } private int fStoreID; public static FieldInfo _StoreID = new FieldInfo("t_smd_Device", "StoreID");
        [Column]
        public string AuthID { get { return fAUTHID; } set { fAUTHID = value; EntityState.FieldChange("AuthID"); } } private string fAUTHID; public static FieldInfo _AuthID = new FieldInfo("t_smd_Device", "AuthID");
        [Column]
        public string Region { get { return fRegion; } set { fRegion = value; EntityState.FieldChange("Region"); } } private string fRegion; public static FieldInfo _Region = new FieldInfo("t_smd_Device", "Region");
        [Column]
        public string Province { get { return fProvince; } set { fProvince = value; EntityState.FieldChange("Province"); } } private string fProvince; public static FieldInfo _Province = new FieldInfo("t_smd_Device", "Province");
        [Column]
        public string CityName { get { return fCityName; } set { fCityName = value; EntityState.FieldChange("CityName"); } } private string fCityName; public static FieldInfo _CityName = new FieldInfo("t_smd_Device", "CityName");
        [Column]
        public string CityClass { get { return fCityClass; } set { fCityClass = value; EntityState.FieldChange("CityClass"); } } private string fCityClass; public static FieldInfo _CityClass = new FieldInfo("t_smd_Device", "CityClass");
        [Column]
        public string DealerCode { get { return fDealerCode; } set { fDealerCode = value; EntityState.FieldChange("DealerCode"); } } private string fDealerCode; public static FieldInfo _DealerCode = new FieldInfo("t_smd_Device", "DealerCode");
        [Column]
        public string Name { get { return fName; } set { fName = value; EntityState.FieldChange("Name"); } } private string fName; public static FieldInfo _Name = new FieldInfo("t_smd_Device", "Name");
        [Column]
        public string StoreName { get { return fStoreName; } set { fStoreName = value; EntityState.FieldChange("StoreName"); } } private string fStoreName; public static FieldInfo _StoreName = new FieldInfo("t_smd_Device", "StoreName");
        [Column]
        public string Channel { get { return fChannel; } set { fChannel = value; EntityState.FieldChange("Channel"); } } private string fChannel; public static FieldInfo _Channel = new FieldInfo("t_smd_Device", "Channel");
        [Column]
        public int InstallDate { get { return fInstallDate; } set { fInstallDate = value; EntityState.FieldChange("InstallDate"); } } private int fInstallDate; public static FieldInfo _InstallDate = new FieldInfo("t_smd_Device", "InstallDate");
        [Column]
        public string FullSetSN { get { return fFullSetSN; } set { fFullSetSN = value; EntityState.FieldChange("FullSetSN"); } } private string fFullSetSN; public static FieldInfo _FullSetSN = new FieldInfo("t_smd_Device", "FullSetSN");
        [Column]
        public int Amount { get { return fAmount; } set { fAmount = value; EntityState.FieldChange("Amount"); } } private int fAmount; public static FieldInfo _Amount = new FieldInfo("t_smd_Device", "Amount");
        [Column]
        public string ReturnAmount { get { return fReturnAmount; } set { fReturnAmount = value; EntityState.FieldChange("ReturnAmount"); } } private string fReturnAmount; public static FieldInfo _ReturnAmount = new FieldInfo("t_smd_Device", "ReturnAmount");
        [Column]
        public string NowAmount { get { return fNowAmount; } set { fNowAmount = value; EntityState.FieldChange("NowAmount"); } } private string fNowAmount; public static FieldInfo _NowAmount = new FieldInfo("t_smd_Device", "NowAmount");
        [Column]
        public int DeviceID { get { return fDeviceID; } set { fDeviceID = value; EntityState.FieldChange("DeviceID"); } } private int fDeviceID; public static FieldInfo _DeviceID = new FieldInfo("t_smd_Device", "DeviceID");

    }
}